<extend file='resource/view/home'/>
<block name="content">
	<style>
		nav ul li{
			float: left;
			color: #fff;
			padding:0 10px;
			font-size:18px;
			font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;
		}
	</style>
	<div class="bloglist">
		<h2>
			<p><span>推荐</span>文章</p>
		</h2>
		<foreach from="$articleData" key="$k" value="$v">
		<div class="blogs">

			<h3><a href="/">{{$v['title']}}</a></h3>
			<figure><img src="{{$v['thumb']}}" ></figure>
			<ul>
				<p>{{$v['digest']}}</p>
				<a href="{{u('content.index',['aid'=>$v['aid']])}}" class="readmore">阅读全文&gt;&gt;</a>
			</ul>
			<p class="autor"><span>作者：{{$v['author']}}</span><span>分类：【<a href="{{u('listpage.index',['cid'=>$v['cid']])}}">{{$v['cname']}}</a>】</span><span>浏览（<a href="/">459</a>）</span><span>评论（<a href="/">30</a>）</span></p>
			<div class="dateview">{{date('y-m-d',$v['sendtime'])}}</div>
		</div>
		</foreach>
	</div>
	{{$page}}
</block>